package com.core.Comprimento;

import com.core.Comprimento.ComprimentoBase;

public class Pe extends ComprimentoBase {
	
	public Pe(double valueToBeConverted){
		this.valueToBeConverted = valueToBeConverted;
	}
	
	@Override
	public double ToMetro(){
		return this.valueToBeConverted*0.3048;
	}
	
	@Override
	public double ToCentimetro(){
	 return this.valueToBeConverted*30.48;
	}

	@Override
	public double ToMilimetro(){
	 return this.valueToBeConverted*304.8;
	}
	
	@Override
	public double ToPolegada(){
	 return this.valueToBeConverted*12;
	}
	
	@Override
	public double ToJarda(){
	 return this.valueToBeConverted*0.3333;
	}

	@Override
	public double ToQuilometro(){
	 return this.valueToBeConverted*0.0003;
	}

}

